<!DOCTYPE html>
<html>

<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<meta name="description" content="星露谷物语作物利润计算器和可视化工具。" />
	<title>星露谷作物利润计算器</title>
	<script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script>
	<link rel="stylesheet" type="text/css" href="style/style.css" />
	<link rel="shortcut icon" type="image/png" href="img/ancientfruit.png">
</head>

<body>

	<div class="title">
	</div>

	</div>
	<script src="js/language.js"> </script>
	<div id="languageOptions" style="position: absolute; top: 0; right: 0;">
		<label for="languageSelect">语言</label>
		<select id="languageSelect" onchange="home_changeLanguage()">
			<option value="cn" selected="true">中文</option>
			<option value="en">English</option>
		</select>
		<script>
			language = document.getElementById("languageSelect").value;
		</script>
	</div>

	<script src="js/crops.js"> </script>
	<script src="js/data.js"> </script>
	<div class="graph">
		<script src="js/main.js"> </script>
	</div>

	<div class="options">
		<table cellspacing="2">

			<tr>
				<td>季节：</td>
				<td>
					<select id="select_season" onChange="rebuild()">
						<option value="0" id="season_0" selected="true">春天</option>
						<option value="1" id="season_1">夏天</option>
						<option value="2" id="season_2">秋天</option>
						<option value="3" id="season_3">冬天</option>
						<option value="4" id="season_4">温室</option>
					</select>
				</td>
			</tr>

			<tr id="cross_season_row">
				<td>跨季节：</td>
				<td><input type="checkbox" id="cross_season" onChange="refresh()" /></td>
			</tr>

			<tr id="number_days_row">
				<td>当季天数：</td>
				<td><input type="number" id="number_days" value="28" onChange="refresh()" /></td>
			</tr>

			<tr id="current_day_row">
				<td>今日天数：</td>
				<td><input type="number" id="current_day" value="1" onChange="refresh()" /></td>
			</tr>

			<tr>
				<td>作物数量：</td>
				<td><input type="number" id="number_planted" value="1" onChange="refresh()" /></td>
			</tr>
			<tr>
				<td>本次采购的最大金额：&nbsp;&nbsp;</td>
				<td><input type="number" id="max_seed_money" value="0" onChange="refresh()" /></td>
			</tr>

			<tr>
				<td>平均利润：</td>
				<td><input type="checkbox" id="check_average" onChange="refresh()" /></td>
			</tr>
			<tr>
				<td>计算单次利润：</td>
				<td><input type="checkbox" id="check_single" onChange="refresh()" /></td>
			</tr>

		</table>

		<table cellspacing="2">
			<tr>
				<td>生产类型：</td>
				<td>
					<select id="select_produce" onChange="refresh()">
						<option value="0" selected="true">未加工</option>
						<option value="1">罐头制品</option>
						<option value="2">桶制品</option>
						<option value="3">种子</option>
					</select>
				</td>
			</tr>

			<tr>
				<td colspan="2" class="sub">
					<table cellspacing="2" class="subt">
						<tr>
							<td>设备数量：</td>
							<td><input type="number" id="equipment" value="0" onChange="refresh()" /></td>
						</tr>
						<tr>
							<td>是否允许：</td>
							<td><input type="checkbox" id="check_sellRaw" onChange="refresh()" /><label>不能被加工的<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;作物加入对比</label>
								
							</td>
						</tr>
						<tr>
							<td>陈酿</td>
							<td>
								<select id="select_aging" onChange="refresh()">
									<option value="0" selected="true">不陈酿</option>
									<option value="1">银星</option>
									<option value="2">金星</option>
									<option value="3">铱星</option>
								</select>
							</td>
						</tr>
					</table>
				</td>
			</tr>

			<tr>
				<td>种子来源：</td>
				<td>
					<input type="checkbox" id="check_seedsPierre" onChange="rebuild()" checked="true" /> <label
						for="check_seedsPierre">皮埃尔</label><br />
					<input type="checkbox" id="check_seedsJoja" onChange="rebuild()" checked="true" /> <label
						for="check_seedsJoja">Joja</label><br />
					<input type="checkbox" id="check_seedsSpecial" onChange="rebuild()" checked="true" /> <label
						for="check_seedsSpecial">特殊</label>
				</td>
			</tr>

			<tr>
				<td>是否减去种子花销：</td>
				<td><input type="checkbox" id="check_buySeed" onChange="refresh()" /></td>
			</tr>

			<tr>
				<td>肥料：</td>
				<td>
					<select id="select_fertilizer" onChange="refresh()">
						<option value="0" selected="true">无</option>
						<option value="1">初级肥料</option>
						<option value="2">高级肥料</option>
						<option value="3">顶级肥料</option>
						<option value="4">生长激素</option>
						<option value="5">高级生长激素</option>
						<option value="6">顶级生长激素</option>
					</select>
				</td>                 
			</tr>

			<tr>
				<td>是否减去肥料花销：</td>
				<td><input type="checkbox" id="check_buyFert" onChange="refresh()" /></td>
			</tr>
			<tr id="deluxe_speed_input">
				<td>高级生长激素来源：</td>
				<td>
					<select id="speed_gro_source" onChange="refresh()">
						<option value="0" selected="true">皮埃尔</option>
						<option value="1">桑迪</option>
				</td>
			</tr>
		</table>

		<table cellspacing="2">

			<tr>
				<td>耕种等级：</td>
				<td><input type="number" id="farming_level" value="0" onChange="refresh()" /></td>
			</tr>

			<tr>
				<td colspan="2" class="sub">
					<table cellspacing="2" class="subt">
						<tr>
							<td>5级能力：</td>
							<td><input type="checkbox" id="check_skillsTill" onChange="refresh()" /><label>农耕人</label> <br /></td>
						</tr>
						<tr>
							<td>10级能力：</td>
							<td>
								<select id="select_skills" onChange="refresh()">
									<option value="0" selected="true">无</option>
									<option value="1">农业学家</option>
									<option value="2">工匠</option>
								</select>
							</td>
						</tr>
					</table>
				</td>
			</tr>

			<tr>
				<td colspan="2" class="sub">
					<table class="subt">
					</table>
				</td>
			</tr>

			<tr>
				<td>觅食等级：</td>
				<td><input type="number" id="foraging_level" value="0" onChange="refresh()" /></td>
			</tr>

			<tr>
				<td colspan="2" class="sub">
					<table cellspacing="2" class="subt">
						<tr>
							<td>5级能力：</td>
							<td><input type="checkbox" id="check_skillsGatherer" onChange="refresh()" /><label> 收集者</label><br />
							</td>
						</tr>
						<tr>
							<td>10级能力：</td>
							<td><input type="checkbox" id="check_skillsBotanist" onChange="refresh()" /><label>  植物学家</label><br />
							</td>
						</tr>
					</table>
				</td>
			</tr>

			<tr>
				<td>耕种增益食物：</td>
				<td>
					<select id="select_food" onChange="refresh()">
						<option value="0" selected="true">无</option>
						<option value="1">枫糖棒</option>
						<option value="1">薯饼</option>
						<option value="2">完美早餐</option>
						<option value="2">爆炒青椒</option>
						<option value="2">椰汁汤</option>
						<option value="3">农夫午餐</option>
					</select>
				</td>
			</tr>

			<tr>
				<td>显示额外信息：</td>
				<td><input type="checkbox" id="check_extra" onChange="refresh()" checked="true" /></td>
			</tr>

			<tr>
				<td id="tdhelp">
					<div id="divhelp"><a href="help(cn).html">帮助</a></div>
				</td>
				<td id="tdhelp">
					<div id="divhelp"><a href="changes(cn).html">更新事项</a></div>
				</td>
				<td id="tdhelp">
					<div id="divhelp"><a href="#" id="reset">重置</a></div>
				</td>
			</tr>

		</table>
	</div>

	<div class="footer">
		<p><a href="http://stardewvalley.net/" target="_blank">Stardew Valley v1.6.8</a> &copy; <a
				href="https://twitter.com/ConcernedApe" target="_blank">ConcernedApe</a> | Website designed by wally-88
			| <a href="https://gitee.com/wally-88/stardew-profit-calculator" target="_blank">Stardew Profits v1.1.1</a>
		</p>
	</div>

	<script src="js/time.js"> </script>
</body>

</html>